package com.hjq.demo.http.api;

import com.hjq.http.config.IRequestApi;

import java.util.List;

/**
 *    author : Android 轮子哥
 *    github : https://github.com/getActivity/AndroidProject
 *    time   : 2019/12/07
 *    desc   : 获取用户信息
 */
public final class UserInfoApi implements IRequestApi {

    @Override
    public String getApi() {
        return "getInfo1";
    }

    public final class Bean {
            private int code;
            private List<String> permissions;
            private List<String> roles;
            private String message;
            private UserBean user;

            public int getCode() {
                return code;
            }

            public void setCode(int code) {
                this.code = code;
            }

            public List<String> getPermissions() {
                return permissions;
            }

            public void setPermissions(List<String> permissions) {
                this.permissions = permissions;
            }

            public List<String> getRoles() {
                return roles;
            }

            public void setRoles(List<String> roles) {
                this.roles = roles;
            }

            public String getMessage() {
                return message;
            }

            public void setMessage(String message) {
                this.message = message;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public  class UserBean {
                private Object searchValue;
                private String createBy;
                private String createTime;
                private Object updateBy;
                private Object updateTime;
                private String remark;
                private ParamsBean params;
                private int userId;
                private int deptId;
                private String userName;
                private String nickName;
                private String email;
                private String phonenumber;
                private String sex;
                private String avatar;
                private Object salt;
                private String status;
                private String delFlag;
                private String loginIp;
                private String loginDate;
                private DeptBean dept;
                private List<RolesBean> roles;
                private Object roleIds;
                private Object postIds;
                private Object roleId;
                private boolean admin;

                public Object getSearchValue() {
                    return searchValue;
                }

                public void setSearchValue(Object searchValue) {
                    this.searchValue = searchValue;
                }

                public String getCreateBy() {
                    return createBy;
                }

                public void setCreateBy(String createBy) {
                    this.createBy = createBy;
                }

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public Object getUpdateBy() {
                    return updateBy;
                }

                public void setUpdateBy(Object updateBy) {
                    this.updateBy = updateBy;
                }

                public Object getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(Object updateTime) {
                    this.updateTime = updateTime;
                }

                public String getRemark() {
                    return remark;
                }

                public void setRemark(String remark) {
                    this.remark = remark;
                }

                public ParamsBean getParams() {
                    return params;
                }

                public void setParams(ParamsBean params) {
                    this.params = params;
                }

                public int getUserId() {
                    return userId;
                }

                public void setUserId(int userId) {
                    this.userId = userId;
                }

                public int getDeptId() {
                    return deptId;
                }

                public void setDeptId(int deptId) {
                    this.deptId = deptId;
                }

                public String getUserName() {
                    return userName;
                }

                public void setUserName(String userName) {
                    this.userName = userName;
                }

                public String getNickName() {
                    return nickName;
                }

                public void setNickName(String nickName) {
                    this.nickName = nickName;
                }

                public String getEmail() {
                    return email;
                }

                public void setEmail(String email) {
                    this.email = email;
                }

                public String getPhonenumber() {
                    return phonenumber;
                }

                public void setPhonenumber(String phonenumber) {
                    this.phonenumber = phonenumber;
                }

                public String getSex() {
                    return sex;
                }

                public void setSex(String sex) {
                    this.sex = sex;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public Object getSalt() {
                    return salt;
                }

                public void setSalt(Object salt) {
                    this.salt = salt;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public String getDelFlag() {
                    return delFlag;
                }

                public void setDelFlag(String delFlag) {
                    this.delFlag = delFlag;
                }

                public String getLoginIp() {
                    return loginIp;
                }

                public void setLoginIp(String loginIp) {
                    this.loginIp = loginIp;
                }

                public String getLoginDate() {
                    return loginDate;
                }

                public void setLoginDate(String loginDate) {
                    this.loginDate = loginDate;
                }

                public DeptBean getDept() {
                    return dept;
                }

                public void setDept(DeptBean dept) {
                    this.dept = dept;
                }

                public List<RolesBean> getRoles() {
                    return roles;
                }

                public void setRoles(List<RolesBean> roles) {
                    this.roles = roles;
                }

                public Object getRoleIds() {
                    return roleIds;
                }

                public void setRoleIds(Object roleIds) {
                    this.roleIds = roleIds;
                }

                public Object getPostIds() {
                    return postIds;
                }

                public void setPostIds(Object postIds) {
                    this.postIds = postIds;
                }

                public Object getRoleId() {
                    return roleId;
                }

                public void setRoleId(Object roleId) {
                    this.roleId = roleId;
                }

                public boolean isAdmin() {
                    return admin;
                }

                public void setAdmin(boolean admin) {
                    this.admin = admin;
                }

                public  class ParamsBean {
                }

                public  class DeptBean {
                    private Object searchValue;
                    private Object createBy;
                    private Object createTime;
                    private Object updateBy;
                    private Object updateTime;
                    private Object remark;
                    private ParamsBean params;
                    private int deptId;
                    private int parentId;
                    private Object ancestors;
                    private String deptName;
                    private String orderNum;
                    private String leader;
                    private Object phone;
                    private Object email;
                    private String status;
                    private Object delFlag;
                    private Object parentName;
                    private List<?> children;

                    public Object getSearchValue() {
                        return searchValue;
                    }

                    public void setSearchValue(Object searchValue) {
                        this.searchValue = searchValue;
                    }

                    public Object getCreateBy() {
                        return createBy;
                    }

                    public void setCreateBy(Object createBy) {
                        this.createBy = createBy;
                    }

                    public Object getCreateTime() {
                        return createTime;
                    }

                    public void setCreateTime(Object createTime) {
                        this.createTime = createTime;
                    }

                    public Object getUpdateBy() {
                        return updateBy;
                    }

                    public void setUpdateBy(Object updateBy) {
                        this.updateBy = updateBy;
                    }

                    public Object getUpdateTime() {
                        return updateTime;
                    }

                    public void setUpdateTime(Object updateTime) {
                        this.updateTime = updateTime;
                    }

                    public Object getRemark() {
                        return remark;
                    }

                    public void setRemark(Object remark) {
                        this.remark = remark;
                    }

                    public ParamsBean getParams() {
                        return params;
                    }

                    public void setParams(ParamsBean params) {
                        this.params = params;
                    }

                    public int getDeptId() {
                        return deptId;
                    }

                    public void setDeptId(int deptId) {
                        this.deptId = deptId;
                    }

                    public int getParentId() {
                        return parentId;
                    }

                    public void setParentId(int parentId) {
                        this.parentId = parentId;
                    }

                    public Object getAncestors() {
                        return ancestors;
                    }

                    public void setAncestors(Object ancestors) {
                        this.ancestors = ancestors;
                    }

                    public String getDeptName() {
                        return deptName;
                    }

                    public void setDeptName(String deptName) {
                        this.deptName = deptName;
                    }

                    public String getOrderNum() {
                        return orderNum;
                    }

                    public void setOrderNum(String orderNum) {
                        this.orderNum = orderNum;
                    }

                    public String getLeader() {
                        return leader;
                    }

                    public void setLeader(String leader) {
                        this.leader = leader;
                    }

                    public Object getPhone() {
                        return phone;
                    }

                    public void setPhone(Object phone) {
                        this.phone = phone;
                    }

                    public Object getEmail() {
                        return email;
                    }

                    public void setEmail(Object email) {
                        this.email = email;
                    }

                    public String getStatus() {
                        return status;
                    }

                    public void setStatus(String status) {
                        this.status = status;
                    }

                    public Object getDelFlag() {
                        return delFlag;
                    }

                    public void setDelFlag(Object delFlag) {
                        this.delFlag = delFlag;
                    }

                    public Object getParentName() {
                        return parentName;
                    }

                    public void setParentName(Object parentName) {
                        this.parentName = parentName;
                    }

                    public List<?> getChildren() {
                        return children;
                    }

                    public void setChildren(List<?> children) {
                        this.children = children;
                    }

                    public  class ParamsBean {
                    }
                }

                public  class RolesBean {
                    private Object searchValue;
                    private Object createBy;
                    private Object createTime;
                    private Object updateBy;
                    private Object updateTime;
                    private Object remark;
                    private ParamsBean params;
                    private int roleId;
                    private String roleName;
                    private String roleKey;
                    private String roleSort;
                    private String dataScope;
                    private boolean menuCheckStrictly;
                    private boolean deptCheckStrictly;
                    private String status;
                    private Object delFlag;
                    private boolean flag;
                    private Object menuIds;
                    private Object deptIds;
                    private boolean admin;

                    public Object getSearchValue() {
                        return searchValue;
                    }

                    public void setSearchValue(Object searchValue) {
                        this.searchValue = searchValue;
                    }

                    public Object getCreateBy() {
                        return createBy;
                    }

                    public void setCreateBy(Object createBy) {
                        this.createBy = createBy;
                    }

                    public Object getCreateTime() {
                        return createTime;
                    }

                    public void setCreateTime(Object createTime) {
                        this.createTime = createTime;
                    }

                    public Object getUpdateBy() {
                        return updateBy;
                    }

                    public void setUpdateBy(Object updateBy) {
                        this.updateBy = updateBy;
                    }

                    public Object getUpdateTime() {
                        return updateTime;
                    }

                    public void setUpdateTime(Object updateTime) {
                        this.updateTime = updateTime;
                    }

                    public Object getRemark() {
                        return remark;
                    }

                    public void setRemark(Object remark) {
                        this.remark = remark;
                    }

                    public ParamsBean getParams() {
                        return params;
                    }

                    public void setParams(ParamsBean params) {
                        this.params = params;
                    }

                    public int getRoleId() {
                        return roleId;
                    }

                    public void setRoleId(int roleId) {
                        this.roleId = roleId;
                    }

                    public String getRoleName() {
                        return roleName;
                    }

                    public void setRoleName(String roleName) {
                        this.roleName = roleName;
                    }

                    public String getRoleKey() {
                        return roleKey;
                    }

                    public void setRoleKey(String roleKey) {
                        this.roleKey = roleKey;
                    }

                    public String getRoleSort() {
                        return roleSort;
                    }

                    public void setRoleSort(String roleSort) {
                        this.roleSort = roleSort;
                    }

                    public String getDataScope() {
                        return dataScope;
                    }

                    public void setDataScope(String dataScope) {
                        this.dataScope = dataScope;
                    }

                    public boolean isMenuCheckStrictly() {
                        return menuCheckStrictly;
                    }

                    public void setMenuCheckStrictly(boolean menuCheckStrictly) {
                        this.menuCheckStrictly = menuCheckStrictly;
                    }

                    public boolean isDeptCheckStrictly() {
                        return deptCheckStrictly;
                    }

                    public void setDeptCheckStrictly(boolean deptCheckStrictly) {
                        this.deptCheckStrictly = deptCheckStrictly;
                    }

                    public String getStatus() {
                        return status;
                    }

                    public void setStatus(String status) {
                        this.status = status;
                    }

                    public Object getDelFlag() {
                        return delFlag;
                    }

                    public void setDelFlag(Object delFlag) {
                        this.delFlag = delFlag;
                    }

                    public boolean isFlag() {
                        return flag;
                    }

                    public void setFlag(boolean flag) {
                        this.flag = flag;
                    }

                    public Object getMenuIds() {
                        return menuIds;
                    }

                    public void setMenuIds(Object menuIds) {
                        this.menuIds = menuIds;
                    }

                    public Object getDeptIds() {
                        return deptIds;
                    }

                    public void setDeptIds(Object deptIds) {
                        this.deptIds = deptIds;
                    }

                    public boolean isAdmin() {
                        return admin;
                    }

                    public void setAdmin(boolean admin) {
                        this.admin = admin;
                    }

                    public  class ParamsBean {
                    }
                }
            }
    }
}